<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/3/30
 * Time: 14:49
 */

namespace app\console\model;
use think\Model;

class Managelog1 extends Model
{
    public function manager()
    {
        return $this->hasOne('manager','id','manage_id')->setEagerlyType(1);
    }

    public function authRule()
    {
       return $this->hasOne('authRule', 'name', 'url')->setEagerlyType(1);
    }


}